package com.cloudbroker.bcs.platform.dav.bizapi.service.business.system.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.type.ViewpointReviewType;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;
import com.google.common.base.Enums;

/**
 * Created by lnq on 2016/12/27.
 */
public class ViewpointReviewManageForm extends HSBCPSVO {
    private static final long serialVersionUID = 1L;

    @NotBlank
    @IntegerString
    private  String viewpoint_id;

    @NotBlank
    @EnumValue(enums = {"0","1","2"})
    private String viewpoint_public_status;

    public String getViewpoint_id() {
        return viewpoint_id;
    }

    public void setViewpoint_id(String viewpoint_id) {
        this.viewpoint_id = viewpoint_id;
    }

    public String getViewpoint_public_status() {
        return viewpoint_public_status;
    }

    public void setViewpoint_public_status(String viewpoint_public_status) {
        this.viewpoint_public_status = viewpoint_public_status;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("ViewpointReviewManageForm{");
        sb.append("viewpoint_id='").append(viewpoint_id).append('\'');
        sb.append(", viewpoint_public_status='").append(viewpoint_public_status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
